home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993 October: Windmill on DISC / ADC Developer CD (1993-10) (''Windmill On DISC'')_iso / Dev.CD Oct 93.iso / Utilities / Installer v3.4.3 / Examples - Installer 3.4 / Action Atom Samples / Simple Action Atom Sample / InstallerCommon.r < prev   
Encoding:
Text File  |  1993-06-15  |  6.4 KB  |  258 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        InstallerCommon.r
  3.  
  4.     Contains:    Some useful definitions for the Installer
  5.  
  6.     Copyright:    © 1991-1992 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. #ifndef __INSTALLERCOMMON__
  11. #define __INSTALLERCOMMON__
  12.  
  13.  
  14. /**********************************************************************
  15. ** Some Defines for setting the file date/time stamp field
  16. ***********************************************************************/
  17. #define kNoDateStampCheck        0x00    /* tells ScriptCheck to leave   */
  18.                     /* the creation date field at 0.   A zero value tells */
  19.                     /* the installer to not verify the file by this date */
  20.                     /* time stamp when preflighting an installation     */
  21.                     
  22. #define kScriptCheckSetsDate    0x01    /* tells ScriptCheck to fill in */
  23.                     /* the creation date field.  A non-zero value tells */
  24.                     /* the installer to check that the file has this value */
  25.                     /* when preflighting an installation                 */
  26.  
  27. /**********************************************************************
  28. ** Some Defines to make things more readable
  29. ***********************************************************************/
  30.  
  31. #ifndef StdLeaveNewerCopy
  32. #define StdLeaveNewerCopy        dontDeleteWhenRemoving,    \
  33.                                 deleteWhenInstalling,    \
  34.                                 copy,                    \
  35.                                 leaveAloneIfNewer,        \
  36.                                 updateExisting,            \
  37.                                 copyifNewOrUpdate,        \
  38.                                 rsrcFork,                \
  39.                                 dataFork    
  40. #endif
  41.  
  42. #ifndef StdCopy
  43. #define StdCopy                    dontDeleteWhenRemoving,    \
  44.                                 deleteWhenInstalling,    \
  45.                                 copy,                    \
  46.                                 updateEvenIfNewer,        \
  47.                                 updateExisting,            \
  48.                                 copyifNewOrUpdate,        \
  49.                                 rsrcFork,                \
  50.                                 dataFork    
  51. #endif
  52.  
  53. #ifndef StdRemLeaveNewerCopy
  54. #define StdRemLeaveNewerCopy    deleteWhenRemoving,        \
  55.                                 deleteWhenInstalling,    \
  56.                                 copy,                    \
  57.                                 leaveAloneIfNewer,        \
  58.                                 updateExisting,            \
  59.                                 copyifNewOrUpdate,        \
  60.                                 rsrcFork,                \
  61.                                 dataFork    
  62. #endif
  63.  
  64. #ifndef StdRemCopy
  65. #define StdRemCopy                deleteWhenRemoving,    \
  66.                                 deleteWhenInstalling,    \
  67.                                 copy,                    \
  68.                                 updateEvenIfNewer,        \
  69.                                 updateExisting,            \
  70.                                 copyifNewOrUpdate,        \
  71.                                 rsrcFork,                \
  72.                                 dataFork    
  73. #endif
  74.  
  75. #ifndef StdDelete
  76. #define StdDelete                deleteWhenRemoving,        \
  77.                                 deleteWhenInstalling,    \
  78.                                 dontCopy,                \
  79.                                 updateEvenIfNewer,        \
  80.                                 updateExisting,            \
  81.                                 copyifNewOrUpdate,        \
  82.                                 rsrcFork,                \
  83.                                 dataFork
  84. #endif
  85.  
  86. #ifndef StdResCopy
  87. #define StdResCopy                dontDeleteWhenRemoving,    \
  88.                                 deleteWhenInstalling,    \
  89.                                 copy,                    \
  90.                                 tgtRequired,            \
  91.                                 updateExisting,            \
  92.                                 copyIfNewOrUpdate,        \
  93.                                 dontIgnoreProtection,    \
  94.                                 srcNeedExist,            \
  95.                                 byID,                    \
  96.                                 nameNeedNotMatch
  97. #endif
  98.  
  99. #ifndef StdRemResCopy
  100. #define StdRemResCopy            deleteWhenRemoving,    \
  101.                                 deleteWhenInstalling,    \
  102.                                 copy,                    \
  103.                                 tgtRequired,            \
  104.                                 updateExisting,            \
  105.                                 copyIfNewOrUpdate,        \
  106.                                 dontIgnoreProtection,    \
  107.                                 srcNeedExist,            \
  108.                                 byID,                    \
  109.                                 nameNeedNotMatch
  110. #endif
  111.  
  112. #ifndef StdResMake
  113. #define StdResMake                dontDeleteWhenRemoving,    \
  114.                                 deleteWhenInstalling,    \
  115.                                 copy,                    \
  116.                                 noTgtRequired,            \
  117.                                 updateExisting,            \
  118.                                 copyIfNewOrUpdate,        \
  119.                                 dontIgnoreProtection,    \
  120.                                 srcNeedExist,            \
  121.                                 byID,                    \
  122.                                 nameNeedNotMatch
  123. #endif
  124.  
  125. #ifndef StdRemResCopyName
  126. #define StdRemResCopyName        deleteWhenRemoving,    \
  127.                                 deleteWhenInstalling,    \
  128.                                 copy,                    \
  129.                                 tgtRequired,            \
  130.                                 updateExisting,            \
  131.                                 copyIfNewOrUpdate,        \
  132.                                 dontIgnoreProtection,    \
  133.                                 srcNeedExist,            \
  134.                                 byName,                    \
  135.                                 nameMustMatch
  136. #endif
  137.  
  138. #ifndef StdResCopyName
  139. #define StdResCopyName            dontDeleteWhenRemoving,    \
  140.                                 dontDeleteWhenInstalling,    \
  141.                                 copy,                    \
  142.                                 tgtRequired,            \
  143.                                 updateExisting,            \
  144.                                 copyIfNewOrUpdate,        \
  145.                                 dontIgnoreProtection,    \
  146.                                 srcNeedExist,            \
  147.                                 byName,                    \
  148.                                 nameMustMatch
  149. #endif
  150.  
  151. #ifndef StdResDelete
  152. #define StdResDelete            deleteWhenRemoving,        \
  153.                                 deleteWhenInstalling,    \
  154.                                 dontCopy,                \
  155.                                 tgtRequired,            \
  156.                                 updateExisting,            \
  157.                                 copyIfNewOrUpdate,        \
  158.                                 ignoreProtection,        \
  159.                                 srcNeedNotExist,        \
  160.                                 byID,                    \
  161.                                 nameNeedNotMatch
  162. #endif
  163.  
  164. #ifndef StdFontMake
  165. #define StdFontMake                dontDeleteWhenRemoving,    \
  166.                                 deleteWhenInstalling,    \
  167.                                 copy,                    \
  168.                                 noTgtRequired,            \
  169.                                 updateExisting,            \
  170.                                 copyIfNewOrUpdate,        \
  171.                                 dontIgnoreProtection,    \
  172.                                 srcNeedExist,            \
  173.                                 byName,                    \
  174.                                 nameMustMatch
  175. #endif
  176.  
  177. #ifndef StdFontCopy
  178. #define StdFontCopy                dontDeleteWhenRemoving,    \
  179.                                 deleteWhenInstalling,    \
  180.                                 copy,                    \
  181.                                 tgtRequired,            \
  182.                                 updateExisting,            \
  183.                                 copyIfNewOrUpdate,        \
  184.                                 dontIgnoreProtection,    \
  185.                                 srcNeedExist,            \
  186.                                 byName,                    \
  187.                                 nameMustMatch
  188. #endif
  189.  
  190. #ifndef StdRemFontMake
  191. #define StdRemFontMake            deleteWhenRemoving,        \
  192.                                 deleteWhenInstalling,    \
  193.                                 copy,                    \
  194.                                 noTgtRequired,            \
  195.                                 updateExisting,            \
  196.                                 copyIfNewOrUpdate,        \
  197.                                 dontIgnoreProtection,    \
  198.                                 srcNeedExist,            \
  199.                                 byName,                    \
  200.                                 nameMustMatch
  201. #endif
  202.  
  203. #ifndef StdFontDelete
  204. #define StdFontDelete            deleteWhenRemoving,        \
  205.                                 deleteWhenInstalling,    \
  206.                                 dontCopy,                \
  207.                                 tgtRequired,            \
  208.                                 updateExisting,            \
  209.                                 copyIfNewOrUpdate,        \
  210.                                 ignoreProtection,        \
  211.                                 srcNeedNotExist,        \
  212.                                 byName,                    \
  213.                                 nameMustMatch
  214. #endif
  215.  
  216. #ifndef PlainFontStyle
  217. #define PlainFontStyle            noExtendedStyle,        \
  218.                                 noCondensedStyle,        \
  219.                                 noShadowStyle,            \
  220.                                 noOutlineStyle,            \
  221.                                 noUnderlineStyle,        \
  222.                                 noItalicStyle,            \
  223.                                 noBoldStyle
  224. #endif
  225.  
  226. #ifndef BoldFontStyle
  227. #define BoldFontStyle            noExtendedStyle,        \
  228.                                 noCondensedStyle,        \
  229.                                 noShadowStyle,            \
  230.                                 noOutlineStyle,            \
  231.                                 noUnderlineStyle,        \
  232.                                 noItalicStyle,            \
  233.                                 boldStyle
  234. #endif
  235.  
  236. #ifndef ItalicFontStyle
  237. #define ItalicFontStyle            noExtendedStyle,        \
  238.                                 noCondensedStyle,        \
  239.                                 noShadowStyle,            \
  240.                                 noOutlineStyle,            \
  241.                                 noUnderlineStyle,        \
  242.                                 italicStyle,            \
  243.                                 noBoldStyle
  244. #endif
  245.  
  246. #ifndef BoldItalicFontStyle
  247. #define BoldItalicFontStyle        noExtendedStyle,        \
  248.                                 noCondensedStyle,        \
  249.                                 noShadowStyle,            \
  250.                                 noOutlineStyle,            \
  251.                                 noUnderlineStyle,        \
  252.                                 italicStyle,            \
  253.                                 boldStyle
  254. #endif
  255.  
  256.  
  257.  
  258. #endif